gdk: Avoid synthetic motion confusion
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Apr 2021 23:51:17 +0000 (19:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Apr 2021 01:09:54 +0000 (21:09 -0400)
commitd225f146575e6eae79562cca73d65234e08f3bcb
treea9e2cec1b129030e7cd8020230ba23412d92ea9f
parentbe927d9ce665e9715b328ffa546c0427e0b9fb43
gdk: Avoid synthetic motion confusion

Don't emit a synthetic motion event on a surface
that is grab-shadowed by a popup. This has been
known to confuse GTK, at times.

Fixes: #3439
gdk/gdksurface.c